<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>{% block title %}PopBoard{% endblock %}</title>
    {% block extra_head %}
    {% endblock %}
</head>
<body>
    <div id="header">
        <ul id="nav">
          <li><a href="{% url popboard-index %}">Forums</a></li>
          {% if user.is_authenticated %}
               <li><a href="{% url popboard-edit-profile %}">Forum Preferences</a></li>
               <li><a href="{% url auth_logout %}">Logout</a></li>
          {% else %}
           <li><a href="{% url registration_register %}">Signup</a></li>
          <li><a href="{% url auth_login %}">Login</a></li>
          {% endif %}
        </ul>
        <h1><a href="{% url popboard-index %}">PopBoard</a></h1>
      </div>
<div id="container">
{% block container %}

    <div id="content">
        {% block content %}
        {% endblock %}
    </div>

    <div id="right">
        {% block sidebar %}
            {% include "popboard/includes/sidebar.html" %}
        {% endblock %}
    </div>
{% endblock %}

<div id="footer">
<p class="disclaim">
    powered by <a href="http://code.google.com/p/django-popboard/">popboard</a>
</p>
<p class="credit">
    Visual Style &copy; 2006 <a href="http://www.workingwithrails.com/person/5337-josh-goebel">Josh Goebel</a> and <a href="http://weblog.techno-weenie.net/">Rick Olson</a>.
</p>
<br style="clear: both;" />
</div>
</body></html>